﻿using Com.JunCaiSoft.Common.IDao;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.API.ReportCenter
{
    public abstract class BaseReportController<T> : Controller where T : class, new()
    {
        /// <summary>
        /// Dao层
        /// </summary>
        protected IGeneralDaoAsync<T> DaoAsync { get; }
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dao"></param>
        protected BaseReportController(IGeneralDaoAsync<T> dao)
        {
            DaoAsync = dao;
        }
    }
}
